More documentation fixes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 6 Jan 2011 14:06:24 +0000 (09:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 6 Jan 2011 14:44:08 +0000 (09:44 -0500)
docs/reference/gtk/gtk-query-immodules-3.0.xml
docs/reference/gtk/tmpl/gtktextbuffer.sgml
gtk/gtkaccelgroup.c
gtk/gtkappchooserdialog.c
gtk/gtkcellarea.c
gtk/gtkfilechooser.c
gtk/gtkmain.c
gtk/gtksettings.c
gtk/gtksizegroup.c
gtk/gtktoolshell.c

index 609323c7e2a5ff19b1cb7ef2174da99f7ecae4e0..c9e541b6d2c7615e00b96c50e676bc636175a5f0 100644 (file)
@@ -2,7 +2,7 @@
 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
 ]>
-<refentry id="gtk-query-immodules">
+<refentry id="gtk-query-immodules-3.0">
 
 <refmeta>
 <refentrytitle>gtk-query-immodules-3.0</refentrytitle>
index f7cfdef3561c1add277d02093287150e5cc7d752..ff1c01a417f64a1e3c356e3e14b44ea12186c367 100644 (file)
@@ -931,7 +931,7 @@ It must return the serialized form of the content.
 </para>
 
 @register_buffer: the #GtkTextBuffer for which the format is registered
-@content_buffer: the #GtkTextsBuffer to serialize
+@content_buffer: the #GtkTextBuffer to serialize
 @start: start of the block of text to serialize
 @end: end of the block of text to serialize
 @length: Return location for the length of the serialized data
index aed1dd3a3042cc318bba0525801aaf53a6c89384..9e43ccaf7c1427f56c1c4063eacfa995f9c2d9da 100644 (file)
@@ -950,11 +950,11 @@ gtk_accel_groups_activate (GObject          *object,
  * @keyval:    a GDK keyval
  * @modifiers: modifier mask
  * @returns:   %TRUE if the accelerator is valid
- * 
+ *
  * Determines whether a given keyval and modifier mask constitute
- * a valid keyboard accelerator. For example, the #GDK_a keyval
+ * a valid keyboard accelerator. For example, the #GDK_KEY_a keyval
  * plus #GDK_CONTROL_MASK is valid - this is a "Ctrl+a" accelerator.
- * But, you can't, for instance, use the #GDK_Control_L keyval
+ * But, you can't, for instance, use the #GDK_KEY_Control_L keyval
  * as an accelerator.
  */
 gboolean
@@ -1278,11 +1278,11 @@ gtk_accelerator_parse (const gchar     *accelerator,
  * gtk_accelerator_name:
  * @accelerator_key:  accelerator keyval
  * @accelerator_mods: accelerator modifier mask
- * 
+ *
  * Converts an accelerator keyval and modifier mask
  * into a string parseable by gtk_accelerator_parse().
- * For example, if you pass in #GDK_q and #GDK_CONTROL_MASK,
- * this function returns "&lt;Control&gt;q". 
+ * For example, if you pass in #GDK_KEY_q and #GDK_CONTROL_MASK,
+ * this function returns "&lt;Control&gt;q".
  *
  * If you need to display accelerators in the user interface,
  * see gtk_accelerator_get_label().
index f83eec4fe8cb81ff25e3d1db9a102f0f588389d1..04785d0c493197bb18e46ea5c98fc6d9e1c3dab0 100644 (file)
@@ -33,8 +33,8 @@
  *
  * Note that #GtkAppChooserDialog does not have any interesting methods
  * of its own. Instead, you should get the embedded #GtkAppChooserWidget
- * using gtk_file_chooser_dialog_get_widget() and call its methods if
- * the gneeric #GtkAppChooser interface is not sufficient for your needs.
+ * using gtk_app_chooser_dialog_get_widget() and call its methods if
+ * the generic #GtkAppChooser interface is not sufficient for your needs.
  */
 #include "config.h"
 
index 60ff2f82a2f2d32db795011eb6492125a18ff692..94b2967fec412d8b3c395576a26fe544bba84c1b 100644 (file)
  * give every row it's minimum or natural height or, if the model content
  * is expected to fit inside the layouting widget without scrolling, it
  * would make sense to calculate the allocation for each row at
- * #GtkWidget.size_allocate() time using gtk_distribute_natural_allocation().
+ * #GtkWidget::size-allocate time using gtk_distribute_natural_allocation().
  * </para>
  * </refsect2>
  * <refsect2 id="cell-area-events-and-focus">
index a0eecbdbe4bafc93585691b05aa638a70cb1f517..898b3d47ec5a2d9ceb0a93c90d1a078eb97da2db 100644 (file)
@@ -915,7 +915,7 @@ gtk_file_chooser_set_local_only (GtkFileChooser *chooser,
 
 /**
  * gtk_file_chooser_get_local_only:
- * @chooser: a #GtkFileChoosre
+ * @chooser: a #GtkFileChooser
  * 
  * Gets whether only local files can be selected in the
  * file selector. See gtk_file_chooser_set_local_only()
@@ -1264,7 +1264,7 @@ gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
  * Note that this is the folder that the file chooser is currently displaying
  * (e.g. "/home/username/Documents"), which is <emphasis>not the same</emphasis>
  * as the currently-selected folder if the chooser is in
- * %GTK_FILE_CHOOSER_SELECT_FOLDER mode
+ * %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode
  * (e.g. "/home/username/Documents/selected-folder/".  To get the
  * currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the
  * usual way to get the selection.
@@ -1568,7 +1568,7 @@ gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser,
  * Note that this is the folder that the file chooser is currently displaying
  * (e.g. "file:///home/username/Documents"), which is <emphasis>not the same</emphasis>
  * as the currently-selected folder if the chooser is in
- * %GTK_FILE_CHOOSER_SELECT_FOLDER mode
+ * %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode
  * (e.g. "file:///home/username/Documents/selected-folder/".  To get the
  * currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the
  * usual way to get the selection.
index 06ec9f3d7a2509c014d6057a3468c6da55e124ac..63376bfb1fa622c61b29a8664a398bbe85f09b2f 100644 (file)
@@ -52,7 +52,7 @@
  *
  * When your callbacks are invoked, you would typically take some action - for
  * example, when an Open button is clicked you might display a
- * #GtkFileSelectionDialog. After a callback finishes, GTK+ will return to the
+ * #GtkFileChooserDialog. After a callback finishes, GTK+ will return to the
  * main loop and await more user input.
  * </para>
  * <example>
index 5ce17e8b1481767a0587aa1376c18cb2858940cd..5d17d5fccf20a74e7d530cbb98ac8d19f05fabcc 100644 (file)
@@ -1047,7 +1047,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
   g_assert (result == PROP_ENABLE_TOOLTIPS);
 
   /**
-   * GtkSettings:toolbar-style:
+   * GtkSettings:gtk-toolbar-style:
    *
    * The size of icons in default toolbars.
    */
@@ -1062,7 +1062,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
   g_assert (result == PROP_TOOLBAR_STYLE);
 
   /**
-   * GtkSettings:toolbar-icon-size:
+   * GtkSettings:gtk-toolbar-icon-size:
    *
    * The size of icons in default toolbars.
    */
index 836b3da2a83eefe2b9a9bfbef3476e8910bd438f..54042a0ed7a2e3f9fa4efea48b745076b3bec2d1 100644 (file)
@@ -475,10 +475,10 @@ gtk_size_group_new (GtkSizeGroupMode mode)
  * 
  * Sets the #GtkSizeGroupMode of the size group. The mode of the size
  * group determines whether the widgets in the size group should
- * all have the same horizontal requisition (%GTK_SIZE_GROUP_MODE_HORIZONTAL)
- * all have the same vertical requisition (%GTK_SIZE_GROUP_MODE_VERTICAL),
+ * all have the same horizontal requisition (%GTK_SIZE_GROUP_HORIZONTAL)
+ * all have the same vertical requisition (%GTK_SIZE_GROUP_VERTICAL),
  * or should all have the same requisition in both directions
- * (%GTK_SIZE_GROUP_MODE_BOTH).
+ * (%GTK_SIZE_GROUP_BOTH).
  **/
 void
 gtk_size_group_set_mode (GtkSizeGroup     *size_group,
index 12d019f088656a1a728f340fa5db08b24aedc3e4..7dc4bf5ac2d7d207d1134702e3ed9948114707bf 100644 (file)
@@ -94,7 +94,7 @@ gtk_tool_shell_get_orientation (GtkToolShell *shell)
  * @shell: a #GtkToolShell
  *
  * Retrieves whether the tool shell has text, icons, or both. Tool items must
- * not call this function directly, but rely on gtk_tool_item_get_style()
+ * not call this function directly, but rely on gtk_tool_item_get_toolbar_style()
  * instead.
  *
  * Return value: the current style of @shell